﻿#pragma once
#include "PropertyEditEntry.h"

class AbstractSpinBoxPropertyEditEntry : public PropertyEditEntry {
    Q_OBJECT
public:
    explicit AbstractSpinBoxPropertyEditEntry(QWidget *parent = nullptr);
    ~AbstractSpinBoxPropertyEditEntry();
    void setObject(void *object) override;
protected:
    void onTick();
private:
    void initUi();
    void retranslateUi();
private:
    struct AbstractSpinBoxPropertyEditEntryPrivate;
    QScopedPointer<AbstractSpinBoxPropertyEditEntryPrivate> p;
};
